import Vue from 'vue'
import 'normalize.css'
import App from './App.vue'
//element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
//router
import router from './router'
//vuex
import store from './store'
//mirrorcode
import codemirror from 'vue-codemirror'
import 'codemirror/lib/codemirror.css'
//主题
import 'codemirror/theme/dracula.css'
//axios
import axios from 'axios';
//mavon editor
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'

Vue.config.productionTip = false

Vue.use(ElementUI)
Vue.use(codemirror)
Vue.use(mavonEditor)

//绑定axios
Vue.prototype.$axios = axios;

new Vue({
  render: (h) => h(App),
  router,
  store
}).$mount('#app')
